.PHONY:all
all:test test1 test2

test:test.c
	gcc -o $@ $^

test1:test1.c
	gcc -o $@ $^

test2:test2.c
	gcc -o $@ $^
.PHONY:clean
clean:
	rm -rf test test1 test2
